package org.caw.domain.descriptor;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "tableList")
public class TableDescriptorList {

	@XmlElement(name = "tables")
	List<TableDescriptor> tables;

	public List<TableDescriptor> getTables() {
		if (tables == null) {
			tables = new ArrayList<TableDescriptor>();
		}
		return tables;
	}

	public void setTables(List<TableDescriptor> tables) {
		this.tables = tables;
	}
}
